package com.dbz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("business")
public class Business {
    @TableId(type = IdType.UUID,value = "bid")
    private String bid;//商家id
    @TableField(value = "bname")
    private String bname;//商家名称
    @TableField(value = "bphone")
    private String bphone;//商家电话
}
